package com.ruoyi.library.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资源库对象 nexus_tool_library
 *
 * @author Afanda
 * @date 2025-04-29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NexusToolLibraryVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 类别
     */
    @Excel(name = "类别")
    private Long categoryId;

    /**
     * 类别名称
     */
    private String categoryName;

    /**
     * 导航栏类别
     */
    @Excel(name = "导航栏类别")
    private Long navCategorgId;

    private Long slideshowId;

    /**
     * 导航栏名称
     */
    private String name;

    /**
     * 标题
     */
    private String title;

    /**
     * app内容
     */
    private String appContent;

    /**
     * 资源图片
     */
    @Excel(name = "资源图片")
    private String logoImageUrl;

    /**
     * 资源标题
     */
    @Excel(name = "资源标题")
    private String titleName;

    /**
     * 官方地址
     */
    private String officialAddress;

    /**
     * 网盘地址
     */
    private String diskAddress;

    /**
     * 描述
     */
    private String description;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("categoryId", getCategoryId())
                .append("navCategorgId", getNavCategorgId())
                .append("title", getTitle())
                .append("appContent", getAppContent())
                .append("logoImageUrl", getLogoImageUrl())
                .append("titleName", getTitleName())
                .append("officialAddress", getOfficialAddress())
                .append("diskAddress", getDiskAddress())
                .append("description", getDescription())
                .append("updateTime", getUpdateTime())
                .append("createTime", getCreateTime())
                .toString();
    }
}
